package com.bristua.mall.common.dao;

import com.bristua.mall.common.model.TIndexCategory;
import com.bristua.mall.common.model.condition.TIndexCategoryExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TIndexCategoryMapper {
    int countByExample(TIndexCategoryExample example);

    int deleteByExample(TIndexCategoryExample example);

    int deleteByPrimaryKey(String id);

    int insert(TIndexCategory record);

    int insertSelective(TIndexCategory record);

    List<TIndexCategory> selectByExampleWithBLOBs(TIndexCategoryExample example);

    List<TIndexCategory> selectByExample(TIndexCategoryExample example);

    TIndexCategory selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TIndexCategory record, @Param("example") TIndexCategoryExample example);

    int updateByExampleWithBLOBs(@Param("record") TIndexCategory record, @Param("example") TIndexCategoryExample example);

    int updateByExample(@Param("record") TIndexCategory record, @Param("example") TIndexCategoryExample example);

    int updateByPrimaryKeySelective(TIndexCategory record);

    int updateByPrimaryKeyWithBLOBs(TIndexCategory record);

    int updateByPrimaryKey(TIndexCategory record);
}